package com.yuhong.springbootinit.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yuhong.springbootinit.model.entity.Profile;
import com.yuhong.springbootinit.model.dto.profile.ProfileQueryRequest;
import com.yuhong.springbootinit.model.entity.User;
import com.yuhong.springbootinit.model.vo.ProfileVO;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
* @author 10467
* @description 针对表【profile】的数据库操作Service
* @createDate 2025-02-22 13:52:10
*/
public interface ProfileService extends IService<Profile> {

    String uploadProfile(MultipartFile file, User user);

    ProfileVO getProfileVO(Profile profile);

    QueryWrapper<Profile> getQueryWrapper(ProfileQueryRequest profileQueryRequest);

    Page<ProfileVO> getProfileVOPage(Page<Profile> profilePage, HttpServletRequest request);

    Profile getProfileByProfileId(String profileId);

    List<String> batchSelection(String positionId);

}
